package com.dream.keigezhushou.Activity.pop;

import android.content.Context;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import com.dream.keigezhushou.R;

import java.util.ArrayList;

/**
 * Created by Administrator on 2017/3/21.
 * 礼物弹出框
 */
public class GiftPopCustomWindow extends DialogBase {

    private Context context;


    private ItemClickListener itemClickListener;



    /**
     * @param contentView
     * @param context
     * @param width
     * @param height      设置高度
     */
    public GiftPopCustomWindow(final View contentView, final Context context, int width, int height) {
        super(contentView, context, width, height);
        this.context = context;


//        ckCustom.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                ckCustom.setTextColor(context.getResources().getColor(R.color.color_FF453F));
//                ckCustom.setBackgroundResource(R.color.color_E6E6E6);
//
//
//            }
//        });
    }


    public void setItemListener(ItemClickListener itemClickListener) {

        this.itemClickListener = itemClickListener;
    }


    public interface ItemClickListener {

        public void onClick();

        public void onSingDetail(View view);
    }


}
